<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="../static/hot.css">
</head>
<body style="background: url(../img/bg.jpg) no-repeat center center fixed; background-size: 100%;">
   <div class=main >
   		<ul class="main-1">
			<li><a href="article-add.jsp">写文章</a></li>
			<li><a href="article?action=list">文章管理</a></li>
			<li><a href="message?act=messagelist">留言管理</a></li>
			<li><a href="comment?act=commentlist">评论管理</a></li>
			<li><a href="blog.jsp">博客首页</a></li>
			<li><a href="AdminServlet?action=adLogout">安全退出</a></li>
			
			</ul>
			<div class="one">欢迎<span style="color:red">${userName}</span>登录</div>
		</div>
		 

     <table border="1px" class="tb">
          <tr>
             <td style="font-size:16px"><strong>编号</strong></td>
			<td style="font-size:16px"><strong>内容</strong></td>
			<td style="font-size:16px"><strong>评论时间</strong></td>
			<td style="font-size:16px"><strong>操作</strong></td>
          
          </tr>
     <c:forEach items="${commentList }" var="comment">
			<tr>
			<td>${comment.coId}</td>
			<td>${comment.coContent}</td>
			<td>${comment.coDate}</td>
			<td>
				<a href="comment?act=Comdel&&id=${comment.coId}" class="sc">删除</a>
			</c:forEach>
     
     </table>
</body>
</html>